package com.ruoyi.dgw.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交易中心_调入对象 deal_enter
 * 
 * @author ll
 * @date 2022-01-07
 */
public class DealEnter extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 养殖户 */
    @Excel(name = "养殖户")
    private String userName;

    /** 电话 */
    @Excel(name = "电话")
    private String phone;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 品种 */
    @Excel(name = "品种")
    private String cowType;

    /** 数量 */
    @Excel(name = "数量")
    private Long csum;

    /** 来源地 */
    @Excel(name = "来源地")
    private String enter;

    /** 检疫证号 */
    @Excel(name = "检疫证号")
    private String certificateNumber;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setCowType(String cowType) 
    {
        this.cowType = cowType;
    }

    public String getCowType() 
    {
        return cowType;
    }
    public void setCsum(Long csum) 
    {
        this.csum = csum;
    }

    public Long getCsum() 
    {
        return csum;
    }
    public void setEnter(String enter) 
    {
        this.enter = enter;
    }

    public String getEnter() 
    {
        return enter;
    }
    public void setCertificateNumber(String certificateNumber) 
    {
        this.certificateNumber = certificateNumber;
    }

    public String getCertificateNumber() 
    {
        return certificateNumber;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userName", getUserName())
            .append("phone", getPhone())
            .append("address", getAddress())
            .append("cowType", getCowType())
            .append("csum", getCsum())
            .append("enter", getEnter())
            .append("certificateNumber", getCertificateNumber())
            .toString();
    }
}
